d017534f7082cc0423a5f22c32a8ca9024e9eae9,plugins/java-decompiler/engine/src/de/fernflower/struct/consts/LinkConstant.java,LinkConstant,writeToStream,#DataOutputStream#,85

Before Change



	public void writeToStream(DataOutputStream out) throws IOException {
		out.writeByte(type);
		out.writeShort(index1);
		out.writeShort(index2);
	}
	

After Change



	public void writeToStream(DataOutputStream out) throws IOException {
		out.writeByte(type);
		if(type == CONSTANT_MethodHandle) {
			out.writeByte(index1);
		} else {
			out.writeShort(index1);
		}
		out.writeShort(index2);
	}